package com.chhh.cranelease.mapper;

import com.chhh.cranelease.entity.User;
import com.chhh.cranelease.model.UserWithRole;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface UserMapper {
    UserWithRole selectByLoginAcct(User user);
    void insertSelective(User user);
    UserWithRole selectLoginAcct(String loginAcct);
    int updateByPrimaryKeySelective(User user);
}
